<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'counter.jsp' starting page</title>
  </head>
  <body>
    <jsp:useBean id="bean0" scope="application" class="sun.counter"></jsp:useBean>
    <%out.println("the counter is"+bean0.getCount()+"<br>"); %>
    <jsp:getProperty name="bean0" property="count"/>
  
     <%=bean0.getCount() %>
  </body>
</html>
